package com.nine.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nine.common.entity.OrderCount;
import com.nine.common.entity.OrderForm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @Description:
 * @ClassName: orderMapper
 * @Author: luodeng
 * @Date: 2023/6/5 16:39
 * @Version: 1.0
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderForm> {
    public OrderCount getOrderCount(@Param("engineerId") long engineerId);
    public int getStatus4OrderCount(); //平台管理员统计状态4（最终裁决）订单
    public OrderCount getStatusCountBy102(@Param("uid") long uid);
    public int getStatus2CountBy102(@Param("uid") long uid);
}
